#include "label.h"
#include <QLabel>
#include <QDebug>
Label::Label(QWidget* parent)
    :QLabel(parent)
{

}

void Label::enterEvent(QEvent *event)
{
    qDebug()<<"进入";
}

void Label::leaveEvent(QEvent *event)
{
    qDebug()<<"出去";
}
